package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "开庭公告")
public class BusinessCourtSession implements Serializable {

    //案件号
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "开庭日期")
    private Date openTime;
    @ApiModelProperty(value = "案由")
    private String brief;
    @ApiModelProperty(value = "原告/上诉人")
    private String plaintiff;
    @ApiModelProperty(value = "被告/被上诉人")
    private String accused;
    @ApiModelProperty(value = "详情")
    private String content;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "案号")
    private String caseCode;
    @ApiModelProperty(value = "当事人")
    private String party;
    @ApiModelProperty(value = "审判长/主审人")
    private String judgeName;
    @ApiModelProperty(value = "法院")
    private String court;
    @ApiModelProperty(value = "法庭")
    private String tribunal;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    public String getPlaintiff() {
        return plaintiff;
    }

    public void setPlaintiff(String plaintiff) {
        this.plaintiff = plaintiff == null ? null : plaintiff.trim();
    }

    public String getAccused() {
        return accused;
    }

    public void setAccused(String accused) {
        this.accused = accused == null ? null : accused.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCaseCode() {
        return caseCode;
    }

    public void setCaseCode(String caseCode) {
        this.caseCode = caseCode;
    }

    public String getParty() {
        return party;
    }

    public void setParty(String party) {
        this.party = party;
    }

    public String getJudgeName() {
        return judgeName;
    }

    public void setJudgeName(String judgeName) {
        this.judgeName = judgeName;
    }

    public String getCourt() {
        return court;
    }

    public void setCourt(String court) {
        this.court = court;
    }

    public String getTribunal() {
        return tribunal;
    }

    public void setTribunal(String tribunal) {
        this.tribunal = tribunal;
    }

    @Override
    public String toString() {
        return "BusinessCourtSession{" +
                "id=" + id +
                ", openTime=" + openTime +
                ", brief='" + brief + '\'' +
                ", plaintiff='" + plaintiff + '\'' +
                ", accused='" + accused + '\'' +
                ", content='" + content + '\'' +
                ", enterId=" + enterId +
                ", caseCode='" + caseCode + '\'' +
                ", party='" + party + '\'' +
                ", judgeName='" + judgeName + '\'' +
                ", court='" + court + '\'' +
                ", tribunal='" + tribunal + '\'' +
                '}';
    }
}